<?php
namespace App\Controllers\Common;
use \App\Libs\Captcha\Algorithms\Numeric;
use \App\Libs\Cache\Redis;
use \App\Libs\Helper\SmsHelper;
class Getcodedemo extends \App\Libs\Base\BaseAction
{
	private static $prefix = 'captcha:';
	public function execute(){
		$phone = $this->request->get("phone");

		
		// send
        SmsHelper::instance()->send($phone, '李鹏,m123' , \App\Libs\Base\Config::instance()->sms['tpl_order_id']);
		
        return \App\Libs\Views\Json::view(0, '成功', null);
    }

}
